﻿#ifndef DATASTROES_H
#define DATASTROES_H

#include <QObject>
#include "global/const.h"
#include "StoreFilePath.h"
#include "TlvProject/TlvProject.h"
#include "AppSettings/AppSettings.h"
#include "ReleaseNotes/ReleaseNotes.h"

class DataStroes : public QObject
{
    Q_OBJECT
public:
    explicit DataStroes(QObject *parent = nullptr);
    ~DataStroes();
    static DataStroes* instance();

    void loadStores();

    TlvProject* tlvPrj() const;
    AppSettings* settings() const;
    ReleaseNotes* releaseNotes() const;

protected:
    // 加载资源
    void loadResources();

signals:

private:
    TlvProject* m_tlvPrj;
    AppSettings* m_settings;
    ReleaseNotes* m_releaseNotes;
};

#endif // DATASTROES_H
